package com.example.demo.pojo;

import java.io.Serializable;
import java.util.Date;

/**
 * usercoupon
 * @author 
 */
public class Usercoupon implements Serializable {
    /**
     * 用户优惠卷id
     */
    private Integer id;

    /**
     * 用户id
     */
    private Integer userid;

    /**
     * 优惠卷id
     */
    private Integer couponid;

    /**
     * 开始时间
     */
    private Date starttrme;

    /**
     * 结束时间
     */
    private Date endtrme;

    /**
     * 优惠卷状态（0未使用，1已使用，2已过期）
     */
    private Integer couponstatu;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Integer getCouponid() {
        return couponid;
    }

    public void setCouponid(Integer couponid) {
        this.couponid = couponid;
    }

    public Date getStarttrme() {
        return starttrme;
    }

    public void setStarttrme(Date starttrme) {
        this.starttrme = starttrme;
    }

    public Date getEndtrme() {
        return endtrme;
    }

    public void setEndtrme(Date endtrme) {
        this.endtrme = endtrme;
    }

    public Integer getCouponstatu() {
        return couponstatu;
    }

    public void setCouponstatu(Integer couponstatu) {
        this.couponstatu = couponstatu;
    }
}